package ua.mykola.graph;

import java.util.Comparator;

public class EdgeWeightComparator implements Comparator<Edge> {

	@Override
	public int compare(Edge o1, Edge o2) {
		return o1.getWeight() - o2.getWeight();
	}

}
